﻿#ifndef CMDDOPRJTREECOPYDATA_H
#define CMDDOPRJTREECOPYDATA_H
#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    class CmdDoPrjTreeCopyData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdDoPrjTreeCopyData();
        ~CmdDoPrjTreeCopyData();

        bool execute() override;
        void undo() override;
        void redo() override;
        void setIndex(int index) { m_index = index; }

    private:
        int m_index;
    };
} // namespace PostCommand

#endif // !CMDDOPRJTREECOPYDATA_H
